package com.qs.rocketmq.redisson.dto;

import java.util.Date;

public class UserDTO {

    private String userId;

    private String userName;

    private Integer age;

    private Date regDate;

    public UserDTO() {

    }

    public UserDTO(String userId, String userName, Integer age, Date regDate) {
        this.userId = userId;
        this.userName = userName;
        this.age = age;
        this.regDate = regDate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getRegDate() {
        return regDate;
    }

    public void setRegDate(Date regDate) {
        this.regDate = regDate;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", age=" + age +
                ", regDate=" + regDate +
                '}';
    }
}
